export class Item {
    id:number;
    title:string;
    content:string;
    url:string;
    votes:number;
    avatar:string;
    submissionImage:string
    constructor (id:number,title:string,content:string,url:string,votes:number,avatar:string,submissionImage:string) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.url = url;
        this.votes = votes;
        this.avatar = avatar;
        this.submissionImage = submissionImage;

    }
}
